package LearnDataStructure.a_线性结构.列表.链表;

/**
 * @version: 1.0
 * @Author: wuqiu
 * @date: 2023-07-01 21:01
 * @description: LeetcodeLearnAlgorithm -> LearnDataStructure.a_线性结构.列表.链表
 */
public class MyNodeDouble extends MyNode{
    MyNodeDouble next;
    MyNodeDouble pre;

    public MyNodeDouble(Object data) {
        super(data);
    }

    public MyNodeDouble() {}

    @Override
    public String toString() {
        return "MyNode2{" +
                "data=" + data +
                ", next=" + next +
                ", pre=" + pre +
                '}';
    }
}
